package com.mapper;

import com.javabean.Product;

import java.util.ArrayList;

public interface ProductMapper {
    ArrayList<Product> selectAll(String productName);

    ArrayList<Product> selectLikeProductName(String productName);

    Product selectById(int id);

    int updateByProduct(Product product);

    int insertProduct(Product product);

    int deleteById(int id);

    int delteByList(ArrayList<Integer> ids);




}
